package resource_builder;

import com.hitechbangla.fctu.base.weather.WindLayer;
import com.hitechbangla.fctu.base.weather.Wind;

/**
 *
 * @author Asus
 */
public class WindCollectionBuilder 
{
   public static void main(String a[])
   {       
	    float[] floatArray = new float[7];
	    
	    floatArray[0] = 1000;
	    floatArray[1] = 2000;
	    floatArray[2] = 3000;
	    floatArray[3] = 4000;
	    floatArray[4] = 5000;
	    floatArray[5] = 6000;
	    floatArray[6] = 7000;
	    
	    Wind layerCollection1 = new Wind(floatArray, "wind 1");
	    
	    floatArray[0] = 1500;
	    floatArray[1] = 2500;
	    floatArray[2] = 3500;
	    floatArray[3] = 4500;
	    floatArray[4] = 5500;
	    floatArray[5] = 6500;
	    floatArray[6] = 7500;
	    
	    Wind layerCollection2 = new Wind(floatArray, "wind 2");
	    
	    GenericTypeBuilder<Wind> genericTypeBuilder = new GenericTypeBuilder<>();
	    genericTypeBuilder.add(layerCollection1,"layerCollection.object");
	    genericTypeBuilder.add(layerCollection2,"layerCollection.object");	
   }
}
